package com.chanzany.builder.improve;
//抽象的建造者
public abstract class HouseBuilder {
    protected House house = new House();

    //打地基
    public abstract void buildBasic();
    //砌墙
    public abstract void buildWall();
    //封顶
    public abstract void roofed();

    //返回建造好的房子，建造的过程由子类实现
   public House build(){
        return house;
    }
}
